import React, { useContext } from 'react';
import { CreateContext } from './color';


function Txt() {
    const { color } = useContext(CreateContext)
    return (<div>颜色为{color}</div>)
}
export default Txt